home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / X11 / XQueryExtension.z / XQueryExtension
Encoding:
Text File  |  2002-10-03  |  3.1 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXQQQQuuuueeeerrrryyyyEEEExxxxtttteeeennnnssssiiiioooonnnn((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666))))XXXXQQQQuuuueeeerrrryyyyEEEExxxxtttteeeennnnssssiiiioooonnnn((((3333XXXX11111111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XQueryExtension - determines availability of an extension
  10.  
  11.      SSSSYYYYNNNNTTTTAAAAXXXX
  12.           Bool XQueryExtension(_d_i_s_p_l_a_y, _n_a_m_e, _m_a_j_o_r__o_p_c_o_d_e__r_e_t_u_r_n,
  13.           _f_i_r_s_t__e_v_e_n_t__r_e_t_u_r_n, _f_i_r_s_t__e_r_r_o_r__r_e_t_u_r_n)
  14.                 Display *_d_i_s_p_l_a_y;
  15.                 char *_n_a_m_e;
  16.                 int *_m_a_j_o_r__o_p_c_o_d_e__r_e_t_u_r_n;
  17.                 int *_f_i_r_s_t__e_v_e_n_t__r_e_t_u_r_n;
  18.                 int *_f_i_r_s_t__e_r_r_o_r__r_e_t_u_r_n;
  19.  
  20.      AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  21.           _d_i_s_p_l_a_y   Specifies the connection to the X server.
  22.  
  23.           _n_a_m_e      Specifies the extension name.
  24.  
  25.           _m_a_j_o_r__o_p_c_o_d_e__r_e_t_u_r_n
  26.                     Returns the major opcode.
  27.  
  28.           _f_i_r_s_t__e_v_e_n_t__r_e_t_u_r_n
  29.                     Returns the first event code, if any.
  30.                     Specifies the extension list.
  31.  
  32.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  33.           The _X_Q_u_e_r_y_E_x_t_e_n_s_i_o_n function determines if the named
  34.           extension is present. If the extension is not present,
  35.           _X_Q_u_e_r_y_E_x_t_e_n_s_i_o_n returns _F_a_l_s_e; otherwise, it returns _T_r_u_e.
  36.           If the extension is present, _X_Q_u_e_r_y_E_x_t_e_n_s_i_o_n returns the
  37.           major opcode for the extension to major_opcode_return;
  38.           otherwise, it returns zero. Any minor opcode and the request
  39.           formats are specific to the extension. If the extension
  40.           involves additional event types, _X_Q_u_e_r_y_E_x_t_e_n_s_i_o_n returns the
  41.           base event type code to first_event_return; otherwise, it
  42.           returns zero. The format of the events is specific to the
  43.           extension. If the extension involves additional error codes,
  44.           _X_Q_u_e_r_y_E_x_t_e_n_s_i_o_n returns the base error code to
  45.           first_error_return; otherwise, it returns zero. The format
  46.           of additional data in the errors is specific to the
  47.           extension.
  48.  
  49.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  50.           XFreeExtensionList(), XListExtensions(), "Basic Protocol
  51.           Support Routines".
  52.           _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 10/3/02)
  64.  
  65.  
  66.  
  67.